package org.jeecg.modules.ws.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.ws.dto.ExcelUploadDto;
import org.jeecg.modules.ws.entity.WsEmployee;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;

/**
 * @Description: 员工档案
 * @Author: jeecg-boot
 * @Date:   2025-02-27
 * @Version: V1.0
 */
public interface IWsEmployeeService extends IService<WsEmployee> {

    /**
     * 根据日期更新
     * @param now
     * @return
     */
    void updateByDate(Date now);

    Result<?> excelVerify(HttpServletRequest request, HttpServletResponse response);

    Result<?> excelUpload(ExcelUploadDto excelUploadDto);

    List<WsEmployee> getByName(String name);
}
